<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8" />
    <title>后台登录</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />

    <link href="/vendor/ace/assets/css/bootstrap.min.css" rel="stylesheet"/>
    <link rel="stylesheet" href="/vendor/ace/assets/css/font-awesome.min.css"/>
    <link rel="stylesheet" href="/vendor/ace/assets/css/ace.min.css"/>
    <link rel="stylesheet" href="/vendor/ace/assets/css/ace-rtl.min.css"/>
    <script src="/vendor/ace/assets/js/ace-extra.min.js"></script>
    <link rel="stylesheet" href="/assets/css/common.css"/>



    <style>
        body{
            background: url("/vendor/ace/assets/images/gallery/15.jpg");
            background-attachment: fixed;
            background-repeat:no-repeat;
        }
    </style>

</head>



<body class="login-layout" >
<div class="main-container">
    <div class="main-content">
        <div class="row">
            <div class="col-sm-10 col-sm-offset-1">
                <div class="login-container">
                    <div class="center">
                        <h1>
                            <i class="icon-leaf green"></i>
                            <span class="red">ItFun</span>
                            <span class="white">后台应用</span>
                        </h1>
                        <h4 class="blue">&copy; ItFun</h4>
                    </div>

                    <div class="space-6"></div>

                    <div class="position-relative">
                        <div id="login-box" class="login-box visible widget-box no-border">
                            <div class="widget-body">
                                <div class="widget-main">
                                    <h4 class="header blue lighter bigger">
                                        <i class="icon-coffee green"></i>
                                        请输入登录信息：
                                    </h4>

                                    <if session('error')>
                                    <div class="am-g">
                                        <div class="am-u-md-12">
                                            <div class="am-alert am-alert-danger">
                                                <sapn style="color: red">{{:session('error')}}</sapn>

                                            </div>
                                        </div>
                                    </div>
                                    </if>

                                    <div class="space-6"></div>

                                    <form method="POST" action="">

                                        <fieldset>
                                            <label class="block clearfix">
                                                <span class="block input-icon input-icon-right">
                                                    <input type="text" class="form-control" placeholder="用户名/手机号/邮箱"   name="name"  autofocus/>
                                                    <i class="icon-user"></i>
                                                </span>
                                            </label>

                                            <label class="block clearfix">
                                                <span class="block input-icon input-icon-right">
                                                    <input type="password" class="form-control" placeholder="请输入密码" name="password" >
                                                    <i class="icon-lock"></i>
                                                </span>
                                            </label>
                                            <label class="block clearfix">
                                                <span class="block input-icon input-icon-right">
                                                    <input type="text" class="form-control" placeholder="请输入验证码" name="code" >

                                                </span>
                                                <br>

                                                <div><img src="{{:captcha_src()}}" alt="captcha" style="width: 290px;height: 50px"
                                                          onclick="this.src='{{:captcha_src()}}?rnd='+Math.random();"></div>
                                            </label>

                                            <div class="space"></div>

                                            <div class="clearfix">
                                                <label class="inline">
                                                    <input type="checkbox" class="ace" name="remember">
                                                    <span class="lbl"> 记住一万年</span>
                                                </label>

                                                <button type="submit" class="width-35 pull-right btn btn-sm btn-primary">
                                                    <i class="icon-key"></i>
                                                    Login
                                                </button>
                                            </div>

                                            <div class="space-4"></div>
                                        </fieldset>
                                    </form>

                                    <div class="social-or-login center">
                                        <span class="bigger-110">使用快捷登录</span>
                                    </div>

                                    <div class="social-login center">
                                        <a class="btn btn-primary">
                                            <i class="icon-facebook"></i>
                                        </a>

                                        <a class="btn btn-info">
                                            <i class="icon-twitter"></i>
                                        </a>

                                        <a class="btn btn-danger">
                                            <i class="icon-google-plus"></i>
                                        </a>
                                    </div>
                                </div><!-- /widget-main -->

                                <div class="toolbar clearfix">
                                    <div>
                                        <a href="" class="forgot-password-link">
                                            <i class="icon-arrow-left"></i>
                                            忘记密码
                                        </a>
                                    </div>

                                    <div>
                                        <a href="" class="user-signup-link">
                                            免费注册
                                            <i class="icon-arrow-right"></i>
                                        </a>
                                    </div>
                                </div>
                            </div><!-- /widget-body -->
                        </div><!-- /login-box -->
                    </div><!-- /position-relative -->
                </div>
            </div><!-- /.col -->
        </div><!-- /.row -->
    </div>
</div><!-- /.main-container -->

<script src="/vendor/ace/assets/js/jquery-1.10.2.min.js"></script>
<script src="/vendor/ace/assets/js/bootstrap.min.js"></script>
<script src="/vendor/ace/assets/js/ace-elements.min.js"></script>
<script src="/vendor/ace/assets/js/ace.min.js"></script>
</body>
</html>




